﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
using WalkingTec.Mvvm.Core;
using WalkingTec.Mvvm.Core.Extensions;
using TyMES.Model.Record;


namespace TyMES.ViewModel.Record.StockInRecordVMs
{
    public partial class StockInRecordTemplateVM : BaseTemplateVM
    {
        [Display(Name = "工厂编码")]
        public ExcelPropety factoryCode_Excel = ExcelPropety.CreateProperty<StockInRecord>(x => x.factoryCode);
        [Display(Name = "货架号")]
        public ExcelPropety hjCode_Excel = ExcelPropety.CreateProperty<StockInRecord>(x => x.hjCode);
        [Display(Name = "总成编码")]
        public ExcelPropety zcCode_Excel = ExcelPropety.CreateProperty<StockInRecord>(x => x.zcCode);
        [Display(Name = "序号")]
        public ExcelPropety sort_Excel = ExcelPropety.CreateProperty<StockInRecord>(x => x.sort);
        [Display(Name = "绑定批次")]
        public ExcelPropety batchCode_Excel = ExcelPropety.CreateProperty<StockInRecord>(x => x.batchCode);
        [Display(Name = "绑定时间")]
        public ExcelPropety BindTime_Excel = ExcelPropety.CreateProperty<StockInRecord>(x => x.BindTime);
        [Display(Name = "产品类型")]
        public ExcelPropety ProductType_Excel = ExcelPropety.CreateProperty<StockInRecord>(x => x.ProductType);
        protected override void InitVM()
        {
        }

    }

    public class StockInRecordImportVM : BaseImportVM<StockInRecordTemplateVM, StockInRecord>
    {

    }

}
